package com.fintech.third.model.bairong;

import java.io.Serializable;

/**
 * 身份证二要素验证
 * 
 * @author tang.pw
 *
 */
public class IdCardCheck implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String swift_number;//身份证二要素验证产品计费标识

	private int code;

	private Flag flag;

	private Product product;

	public void setSwift_number(String swift_number) {
		this.swift_number = swift_number;
	}

	public String getSwift_number() {
		return this.swift_number;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public int getCode() {
		return this.code;
	}

	public void setFlag(Flag flag) {
		this.flag = flag;
	}

	public Flag getFlag() {
		return this.flag;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Product getProduct() {
		return this.product;
	}

	public class Product implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;

		private String RESULT;//身份信息比对结果  1：一致  2: 不一致  3 ：无法验证  -1：参数错误

		private String guid;//用于定位问题

		private int costTime;//返回时间

		public void setRESULT(String RESULT) {
			this.RESULT = RESULT;
		}

		public String getRESULT() {
			return this.RESULT;
		}

		public void setGuid(String guid) {
			this.guid = guid;
		}

		public String getGuid() {
			return this.guid;
		}

		public void setCostTime(int costTime) {
			this.costTime = costTime;
		}

		public int getCostTime() {
			return this.costTime;
		}

	}

	public class Flag implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		
		private int flag_idtwo_z;

		public void setFlag_idtwo_z(int flag_idtwo_z) {
			this.flag_idtwo_z = flag_idtwo_z;
		}

		public int getFlag_idtwo_z() {
			return this.flag_idtwo_z;
		}

	}
}
